#ifndef CVOLUMEDIALOG_H
#define CVOLUMEDIALOG_H
#include <QDialog>
#include <QSlider>

class CVolumeSliderDialog : public QDialog
{
    Q_OBJECT
public:
    explicit CVolumeSliderDialog(QWidget * parent = Q_NULLPTR);
    ~CVolumeSliderDialog();
    int value();

    void setSliderValue(int val);
signals:
    void sigVolumeSliderPos(int value);
private slots:
    void triggerSigVolume(int val);
private:
    QSlider * _pslider = nullptr;
};

#endif // CVOLUMEDIALOG_H
